package com.inspur.cmis.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.inspur.cmis.mapper.WorkHistoryMapper;
import com.inspur.cmis.pojo.WorkHistory;
import com.inspur.cmis.pojo.WorkHistoryExt;
import com.inspur.cmis.service.WorkHistoryService;
@Service
public class WorkHistoryServiceIml implements WorkHistoryService {
	@Autowired
	private WorkHistoryMapper whMapper;
	@Override
	public List<WorkHistoryExt> getWorkList(Map map) {
		// TODO Auto-generated method stub
		return whMapper.getWorkList(map);
	}

	@Override
	public WorkHistory getWorkHistory(Map map) {
		// TODO Auto-generated method stub
		return whMapper.getWorkHistory(map);
	}
	@Override
	public int addWorkHistory(WorkHistory workHistory) {
		// TODO Auto-generated method stub
		return whMapper.addWorkHistory(workHistory);
	}
	@Override
	public int updateWorkHistory(WorkHistory workHistory) {
		// TODO Auto-generated method stub
		return whMapper.updateWorkHistory(workHistory);
	}
	@Override
	public int deleteWorkHistory(String[] whkeys) {
		// TODO Auto-generated method stub
		return whMapper.deleteWorkHistory(whkeys);
	}
	
}
